package com.dinglian.ots.vo.product;

import com.dinglian.ots.dao.model.Size;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wangbo
 */
@Data
public class AddProductInfoVo {

    @NotNull(message = "产品Id不能为空")
    private Integer productId;

    private String attrValueIds;

    @NotNull(message = "外包装长度不能为空")
    private Integer length;

    @NotNull(message = "外包装宽度不能为空")
    private Integer width;

    @NotNull(message = "外包装高度不能为空")
    private Integer height;

    @NotNull(message = "外包装重量不能为空")
    private Integer kg;

    @NotNull(message = "颜色Id不能为空")
    private Integer colorId;

    private List<AddSkuVo> skuList;

    private MultipartFile[] images;

    private String introduction;
}
